﻿<Window x:Class="AlphaGet.Widget"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="WinGet" Height="144" Width="144" MaxHeight="144" MaxWidth="144" 
        WindowStyle="None" AllowsTransparency="True" Background="Transparent" ResizeMode="NoResize"
        MouseLeftButtonDown="Window_MouseLeftButtonDown" ShowInTaskbar="False" Topmost="False" WindowStartupLocation="Manual" Loaded="Window_Loaded" Icon="/AlphaGet;component/Images/icon_64.png">
        <Viewbox Grid.Row="0" Grid.Column="0" Name="viewbox" Grid.ColumnSpan="2" Grid.RowSpan="2">
            <Image Height="128" Name="image1" Stretch="Uniform" Width="128" Source="/AlphaGet;component/Images/icon_128.png" Drop="image1_Drop" AllowDrop="True">
                <Image.ContextMenu>
                    <ContextMenu Name="contextMenu" StaysOpen="True">
                        <MenuItem Name="downloadCurrent" Header="Download Clipboard Content" Click="downloadCurrent_Click" />
                        <MenuItem Name="openFolder" Header="Open Download Folder" Click="openFolder_Click" />
                        <Separator />
                        <MenuItem Header="Size">
                            <MenuItem Name="size32" Header="32x32" Click="changeSize" />
                            <MenuItem Name="size48" Header="48x48" Click="changeSize" />
                            <MenuItem Name="size64" Header="64x64" Click="changeSize" />
                            <MenuItem Name="size96" Header="96x96" Click="changeSize" />
                            <MenuItem Name="size128" Header="128x128" Click="changeSize" IsChecked="True" />
                        </MenuItem>
                        <Separator />
                        <MenuItem Name="showMainWindow" Header="Show Program Window" Click="showMainWindow_Click" />
                        <MenuItem Name="hide" IsEnabled="True" Header="Hide"  Click="hide_Click"/>
                    </ContextMenu>
                </Image.ContextMenu>
            </Image>
        </Viewbox>
</Window>
